package yl.hs.bmipfull.pojo.finance;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * SettleMainEntity 发货结算单
 * @category 财务管理——发货结算主信息
 * @author 谢景广
 * @date 2021-12-07
 */
@DBTable(mapCode = "ship_settle_main",disName = "结算单信息")
public class  ShipSettleMainEntity extends BaseEntity {
    private Long id;
    @DBField(isSerialNumber = true,mapCode = "sn",snPrefix = "FHJS",disName = "结算编号")
    private String sn;
    private Date settleTime;
    private String settleType;
    @DBField(disName = "客户名称",mapCode = "customerName")
    private String customerName;
    private String customerNamePY;
    private String customerSN;
    private String contractSN;
    private String projectSN;
    @DBField(disName = "工地名称",mapCode = "projectName")
    private String projectName;
    private String projectNamePY;
    @DBField(disName = "发货开始时间",mapCode = "startTime")
    private Date startTime;
    @DBField(disName = "发货结束时间",mapCode = "endTime")
    private Date endTime;
    private String settleWay;
    @DBField(disName = "签约单位", mapCode = "contractingUnit")
    private String contractingUnit;
    private String priceChannel;
    private int year;
    private int month;

    public String getContractingUnit() {
        return contractingUnit;
    }

    public void setContractingUnit(String contractingUnit) {
        this.contractingUnit = contractingUnit;
    }

    private BigDecimal previousAmount = BigDecimal.ZERO;
    private BigDecimal currentAmount = BigDecimal.ZERO;
    private BigDecimal totalAmount = BigDecimal.ZERO;
    private BigDecimal currentReceivedAmount = BigDecimal.ZERO;
    private BigDecimal totalReceivedAmount = BigDecimal.ZERO;
    private BigDecimal currentQuantity = BigDecimal.ZERO;
    private BigDecimal totalQuantity = BigDecimal.ZERO;
    private String productCateSN;
    private int currentOrderCount;
    private int totalOrderCount;
    private short state;
    private String remark;
    private String contractRemark;
    private String productCateName;
    private String tags;
    private String organizationCode;

    private String signer;
    private Date signingTime;
    private String signWay;
    private String signSvg;
    private String signRemark;

    /**
     * 导出次数
     */
    @DBField(disName = "导出次数", mapCode = "exportCount")
    private int exportCount;

    public int getExportCount() {
        return exportCount;
    }

    public void setExportCount(int exportCount) {
        this.exportCount = exportCount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Date getSettleTime() {
        return settleTime;
    }

    public void setSettleTime(Date settleTime) {
        this.settleTime = settleTime;
    }

    public String getSettleType() {
        return settleType;
    }

    public void setSettleType(String settleType) {
        this.settleType = settleType;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerSN() {
        return customerSN;
    }

    public void setCustomerSN(String customerSN) {
        this.customerSN = customerSN;
    }

    public String getContractSN() {
        return contractSN;
    }

    public void setContractSN(String contractSN) {
        this.contractSN = contractSN;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getSettleWay() {
        return settleWay;
    }

    public void setSettleWay(String settleWay) {
        this.settleWay = settleWay;
    }

    public String getPriceChannel() {
        return priceChannel;
    }

    public void setPriceChannel(String priceChannel) {
        this.priceChannel = priceChannel;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public BigDecimal getPreviousAmount() {
        return previousAmount;
    }

    public void setPreviousAmount(BigDecimal previousAmount) {
        this.previousAmount = previousAmount;
    }

    public BigDecimal getCurrentAmount() {
        return currentAmount;
    }

    public void setCurrentAmount(BigDecimal currentAmount) {
        this.currentAmount = currentAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getCurrentReceivedAmount() {
        return currentReceivedAmount;
    }

    public void setCurrentReceivedAmount(BigDecimal currentReceivedAmount) {
        this.currentReceivedAmount = currentReceivedAmount;
    }

    public BigDecimal getTotalReceivedAmount() {
        return totalReceivedAmount;
    }

    public void setTotalReceivedAmount(BigDecimal totalReceivedAmount) {
        this.totalReceivedAmount = totalReceivedAmount;
    }

    public BigDecimal getCurrentQuantity() {
        return currentQuantity;
    }

    public void setCurrentQuantity(BigDecimal currentQuantity) {
        this.currentQuantity = currentQuantity;
    }

    public BigDecimal getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(BigDecimal totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public String getProductCateSN() {
        return productCateSN;
    }

    public void setProductCateSN(String productCateSN) {
        this.productCateSN = productCateSN;
    }

    public int getCurrentOrderCount() {
        return currentOrderCount;
    }

    public void setCurrentOrderCount(int currentOrderCount) {
        this.currentOrderCount = currentOrderCount;
    }

    public int getTotalOrderCount() {
        return totalOrderCount;
    }

    public void setTotalOrderCount(int totalOrderCount) {
        this.totalOrderCount = totalOrderCount;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getContractRemark() {
        return contractRemark;
    }

    public void setContractRemark(String contractRemark) {
        this.contractRemark = contractRemark;
    }

    public String getProductCateName() {
        return productCateName;
    }

    public void setProductCateName(String productCateName) {
        this.productCateName = productCateName;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCustomerNamePY() {
        return customerNamePY;
    }

    public void setCustomerNamePY(String customerNamePY) {
        this.customerNamePY = customerNamePY;
    }

    public String getProjectNamePY() {
        return projectNamePY;
    }

    public void setProjectNamePY(String projectNamePY) {
        this.projectNamePY = projectNamePY;
    }

    public String getProjectSN() {
        return projectSN;
    }

    public void setProjectSN(String projectSN) {
        this.projectSN = projectSN;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getSigner() {
        return signer;
    }

    public void setSigner(String signer) {
        this.signer = signer;
    }

    public Date getSigningTime() {
        return signingTime;
    }

    public void setSigningTime(Date signingTime) {
        this.signingTime = signingTime;
    }

    public String getSignWay() {
        return signWay;
    }

    public void setSignWay(String signWay) {
        this.signWay = signWay;
    }

    public String getSignSvg() {
        return signSvg;
    }

    public void setSignSvg(String signSvg) {
        this.signSvg = signSvg;
    }

    public String getSignRemark() {
        return signRemark;
    }

    public void setSignRemark(String signRemark) {
        this.signRemark = signRemark;
    }
}
